using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace WindowsFormsApplication1
{
    public partial class rptThongtinGiangdayGV : DevExpress.XtraReports.UI.XtraReport
    {
        public rptThongtinGiangdayGV()
        {
            InitializeComponent();
        }

        public void BindData()
        {
            colMagv.DataBindings.Add("Text", DataSource, "TenGV");
            colNamhoc.DataBindings.Add("Text", DataSource, "Namhoc");
            colMalop.DataBindings.Add("Text", DataSource, "Malop");
            colHocky.DataBindings.Add("Text", DataSource, "Hocky");
            colSotrinh.DataBindings.Add("Text", DataSource, "Sotrinh");
            colNgaybatdau.DataBindings.Add("Text", DataSource, "Ngaybatdau", "{0:MM/dd/yyyy}");
            colNgayketthuc.DataBindings.Add("Text", DataSource, "Ngayketthuc", "{0:MM/dd/yyyy}");
        }
    }
}
